#include "Platform.h"
#include <iostream>
#include <string>

// Poor-man's include file -- just move 'em here for easier maintaining
namespace Tests {
	void reflection();
	void contour();
	void polygon();
	void points();
	void vectors();
	void world();
	// TODO: Add additional test declarations here
	
	// (arr is an constant array "const arr[]" 
	// of function pointers taking no parameters and returns void: "void (*)()"
	void (* const arr[])() = { 
		points,
		vectors,
		reflection,
		contour,
		polygon,
		world
		// TODO: Add additional test functions here
	};
}

#if defined(TESTING)
// Entry point for testing
int main( int, char* argv[] ) {
	std::string divider = std::string( 40, '-' );

	// Execute each test
	FOR ( void(*fn)(), Tests::arr ) {
		fn();
		std::cout << divider << std::endl;
	}
}
#endif